﻿using CQRSFramework.Common.IO;
using System.Threading.Tasks;

namespace CQRSFramework.Events
{
    public interface IEventHandler { }
    public interface IEventHandler<T> : IEventHandler where T : class, IDomainEvent
    {
        Task<AsyncTaskResult> HandleAsync(T evnt);
    }
}
